﻿using Humanizer;

namespace  Msp.Scaffolding.Entities
{
    public class SettingOptions
    {
        public static string Name = "SettingOptions";
        public string BaseDirectory { get; set; }
        public string ProjectName { get; set; }
        public string Areas { get; set; }
       // public string EntityFilePath { get; set; }
        public string TemplatePath { get; set; }
        public string OutputDirectory { get; set; }
        //区域小写
        public string AreasCamelize => Areas.Camelize();

        /// <summary>
        /// model的注释文件
        /// </summary>
        public string XmlFile { get; set; } = "";

        public string ModuleName { get; set; } = "";

        /// <summary>
        /// 默认主键类型
        /// </summary>
        public string DefaultPrimaryKeyType { get; set; } = "long";
        /// <summary>
        /// 默认主键名称
        /// </summary>
        public string DefultPrimaryKeyName { get; set; } = "Id";

    }
}
